import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Test;


/**
 * Created by peng on 2017/5/1.
 */
public class TestLog {

    private static final Logger logger = LogManager.getLogger("asynclog");

    @Test
    public void test(){

        for(int i = 0; i < 50000; i++) {
            logger.trace("trace level1");
            logger.debug("debug level");
            logger.info("info level");
            logger.warn("warn level");
            logger.error("error level");
            logger.fatal("fatal level");
        }

        logger.trace("trace level");
        logger.debug("debug level");
        logger.info("info level");
        logger.warn("warn level");
        logger.error("error level");
        logger.fatal("fatal level");

        System.out.println("测试 git版本问题");
    }

}
